﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace ElingOA6_Admin_DSJCJ.DAL
{
    /// <summary>
    /// ChkInfoAuditEntry数据类
    /// </summary>
    public class ChkInfoAuditEntry
    {

        /// <summary>
        /// 获得数据列表
        /// <creator>chenly</creator>
        /// <date>2013-7-27</date>
        /// </summary>
       /// <param name="strWhere">查询条件</param>
       /// <returns>List集合</returns>
        public DataSet GetList(string strWhere)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append("select FEntityNo,FYear,FInfoClsNo,FAuditDate,FScore,FAuditEmpNo,FAuditDeptNo,FDocId ");
            strSql.Append(" FROM t_chkInfoAuditEntry ");
            if (strWhere.Trim() != "")
            {
                strSql.Append(" where " + strWhere);
            }
            return DbHelperSQL.Query(strSql.ToString());
        }
    }
}
